package org.example.rabbitmq.api;

import org.example.core.utils.R;
import org.example.rabbitmq.api.domain.MqMessage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("mqLog-service")
public interface MqLogService {

    @PostMapping("/mqLog/backend/add")
    R<?> add(@RequestBody MqMessage message);
}
